package cn.llin.web.controller.dlxx;


import cn.llin.dlxx.domain.Querys;
import cn.llin.spy.ArtemisPostTest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

@Controller
@RequestMapping("/video")
public class ArtemisPost  {
	@Resource
	private ArtemisPostTest artemisPostTest;


	@PostMapping("/getUrls")
	@ResponseBody
	public String getUrls(@RequestBody Querys querys) throws Exception
	{
		String result = artemisPostTest.callPostStringApi(querys);
		return result;
	}


}
